package com.ny.wlw;

public class Animal {
    private String name;
    private String color;
    private  int age;
    public  int a=10;
    public void setAge(int age){
        this.age=age;
    }
    public int getAge(){
        return age;
    }
    public void setName(String name){
        this.name = name;
    }
    public void setColor(String color){
        this.color = color;
    }
    public String getName(){
        return name;
    }
    public String getColor(){
        return color;
    }
    public void play(){
        System.out.println("发出声音");
    }
}
